<!-- Beginning of compulsory code below -->
<!--[securityutil_checkpermission_block component='iCarrent::' instance='::' level=ACCESS_ADMIN]-->

<link href="modules/iCarrent/pnincludes/tab/css/dropdown/dropdown.css" media="screen" rel="stylesheet" type="text/css" />
<link href="modules/iCarrent/pnincludes/tab/css/dropdown/themes/adobe.com/default.advanced.css" media="screen" rel="stylesheet" type="text/css" />


<ul id="nav" class="dropdown dropdown-horizontal">
  <li><a href="<!--[pnmodurl modname='iCarrent' type='admin' func='page' ctrl='home']-->"><!--[pnml name='_ICARRENT_GLOBAL_TAB_MAINMENU']--></a></li>
  <li><a href="<!--[pnmodurl modname='iCarrent' ]-->"><!--[pnml name='_ICARRENT_ADMIN_MENU_SITE']--></a></li>
  <li><a href="<!--[pnmodurl modname='iCarrent' type='admin' func='page' ctrl='Setting']-->"><!--[pnml name='_ICARRENT_ADMIN_PAGE_HOME_SYSTEMSETTING']--></a></li>
  <li><a href="#"><!--[pnml name='_ICARRENT_ADMIN_MENU_CATMANAGE']--></a>
    <ul>
      <li>
        <a href="<!--[pnmodurl modname='iCarrent' type='admin' func='list' ctrl='Category']-->"><!--[pnml name='_ICARRENT_ADMIN_MENU_CATEGORY']--></a>
      </li>
      <li>
        <a href="<!--[pnmodurl modname='iCarrent' type='admin' func='list' ctrl='SubCategory']-->"><!--[pnml name='_ICARRENT_ADMIN_MENU_SUBCATEGORY']--></a>
      </li>
      <li>
        <a href="<!--[pnmodurl modname='iCarrent' type='admin' func='list' ctrl='Brand']-->"><!--[pnml name='_ICARRENT_ADMIN_MENU_BRAND']--></a>
      </li>
      <li>
        <a href="<!--[pnmodurl modname='iCarrent' type='admin' func='list' ctrl='Model']-->"><!--[pnml name='_ICARRENT_ADMIN_MENU_MODEL']--> </a>
      </li>
      <li>
        <a href="<!--[pnmodurl modname='iCarrent' type='admin' func='list' ctrl='CarProperty']-->"><!--[pnml name='_ICARRENT_ADMIN_MENU_PROPERTY']--></a>
      </li>
    </ul>
  </li>
  <li>
    <a href="<!--[pnmodurl modname='iCarrent' type='admin' func='list' ctrl='Type']-->"><!--[pnml name='_ICARRENT_ADMIN_MENU_TYPE']--></a>
  </li>

  <li><a href="#"><!--[pnml name='_ICARRENT_ADMIN_MENU_STOREINFO']--></a>
    <ul>
      <li><a target='_blank' href="<!--[pnmodurl modname='iCarrent' type='admin' func='form' ctrl='Shop']-->"><!--[pnml name='_ICARRENT_GLOBAL_ADD']--></a></li>
      <li><a target='_blank' href="<!--[pnmodurl modname='iCarrent' type='admin' func='list' ctrl='Shop']-->"><!--[pnml name='_ICARRENT_ADMIN_MENU_ALL']--></a></li>
      <li><a href="#"><!--[pnml name='_ICARRENT_ADMIN_MENU_PICKUPLOCATION']--> &#8250;</a>
        <ul>
          <!--[if $_GET.shop_id]-->
          <li><a target='_blank' href="<!--[pnmodurl modname='iCarrent' type='admin' func='list' ctrl='Topics' shop_id=$_GET.shop_id]-->"><!--[pnml name='_ICARRENT_GLOBAL_ADD']--></a></li>
          <!--[else]-->
          <!--[get_all_shop]-->
          <li><a target='_blank' href="#"><!--[pnml name='_ICARRENT_GLOBAL_ADD']--> &#8250;</a>
            <ul>
            <!--[foreach from=$shopArray item=itemshop]-->
              <li><a target='_blank' href="<!--[pnmodurl modname='iCarrent' type='admin' func='form' ctrl='Pickuplocation' shop_id=$itemshop.shop_id]-->"><!--[$itemshop.shop_name]--></a></li>
            <!--[/foreach]-->
            </ul>
          </li>
          <!--[/if]-->
        </ul>
      </li>
      <li><a target='_blank' href="#"><!--[pnml name='Service area']--> &#8250;</a>
        <ul>
          <!--[if $_GET.shop_id]-->
          <li><a target='_blank' href="<!--[pnmodurl modname='iCarrent' type='admin' func='form' ctrl='Servicearea' shop_id=$_GET.shop_id]-->"><!--[pnml name='_ICARRENT_GLOBAL_ADD']--></a></li>
          <!--[else]-->

              <li><a target='_blank' href="<!--[pnmodurl modname='iCarrent' type='admin' func='list' ctrl='Shop']-->"><!--[pnml name='_ICARRENT_GLOBAL_ADD']--></a>

              </li>
          <!--[/if]-->
        </ul>
      </li>

      <!-- <li><a target='_blank' href="<!--[pnmodurl modname='iCarrent' type='admin' func='list' ctrl='Shop']-->"><!--[pnml name='_ICARRENT_GLOBAL_SEARCH']--></a></li> -->
    </ul>
  </li>

  <li><a href="#"><!--[pnml name='_ICARRENT_ADMIN_MENU_CAR']--></a>
    <ul>
      <li><a target='_blank' href="<!--[pnmodurl modname='iCarrent' type='admin' func='list' ctrl='Topics']-->"><!--[pnml name='_ICARRENT_ADMIN_MENU_ALL']--></a></li>
      <li><a target='_blank' href="<!--[pnmodurl modname='iCarrent' type='admin' func='list' ctrl='Topics']-->"><!--[pnml name='_ICARRENT_GLOBAL_SEARCH']--></a></li>
    </ul>
  </li>

  <li><a href="#"><!--[pnml name='_ICARRENT_ADMIN_PAGE_HOME_USERMANAGEMENT']--></a>
    <ul>
      <li><a target='_blank' href="<!--[pnmodurl modname='Groups' type='admin']-->"><!--[pnml name='_ICARRENT_ADMIN_MENU_GROUP']--></a></li>
      <li><a target='_blank' href="<!--[pnmodurl modname='Permissions' type='admin']-->"><!--[pnml name='_ICARRENT_ADMIN_MENU_PERMISSION']--></a></li>
      <li><a target='_blank' href="<!--[pnmodurl modname='Profile' type='admin']-->"><!--[pnml name='_ICARRENT_ADMIN_MENU_PROFILE']--></a></li>
      <li><a href="#"><!--[pnml name='_ICARRENT_ADMIN_MENU_USERS']--> &#8250;</a>
        <ul>
          <li><a target='_blank' href="<!--[pnmodurl modname='Users' type='admin' func='new']-->"><!--[pnml name='_ICARRENT_GLOBAL_ADD']--></a></li>
          <li><a target='_blank' href="<!--[pnmodurl modname='Users' type='admin' func='form']-->"><!--[pnml name='_ICARRENT_GLOBAL_EDIT']--></a></li>
          <li><a target='_blank' href="<!--[pnmodurl modname='Users' type='admin' func='list']-->"><!--[pnml name='_ICARRENT_ADMIN_MENU_ALL']--></a></li>
          <li><a target='_blank' href="<!--[pnmodurl modname='Users' type='admin' func='search']-->"><!--[pnml name='_ICARRENT_GLOBAL_SEARCH']--></a></li>
        </ul>
      </li>
    </ul>
  </li>
  <li><a href="<!--[pnmodurl modname='iCarrent' type='admin' func='list' ctrl='Reserve']-->"><!--[pnml name='Reservations']--></a></li>
  <li><a href="<!--[pnmodurl modname='iCarrent' type='admin' func='list' ctrl='Province']-->">จังหวัด/สถาที่</a></li>
</ul>
<!--[/securityutil_checkpermission_block]-->